<div class="detail-groups-single-hook">
    <div class="title">
        当前位置：单灯管理&nbsp&nbsp;->&nbsp;<span class="active">单灯详情 </span>
    </div>
    <div class="detail-header fr">
        <h3 class="choice">单灯详情</h3>
           <a class="primary_btn" @click.stop="goBack()">返回</a>
    </div>
    <div class="inner-wrapper add_single_wrapper">
            <div class="add_single_map" id="add_single_map" style="height: 550px;"></div>
            <div class="search_city input-group">
                <input type="text" class="form-control" name="keyword" placeholder="搜索地点"  @keyup.enter ="searchCity()">
            </div>
            <div class="add_single_wrap">
                <div class="row">
                    <div class="col-xs-6">
                        <span class="col-xs-2">单灯名称</span>
                        <input type="text" class="col-xs-7 input_xs" name="singleName" readonly  v-model="info.lightName">
                    </div>
                    <div class="col-xs-6">
                        <span class="col-xs-2">终端编号</span>
                        <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="info.onenetCode">
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-6">
                        <span class="col-xs-2">控制器类型</span>
                        <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="info.conCategory">
                    </div>
                    <div class="col-xs-6">
                        <span class="col-xs-2">设备ID</span>
                        <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="info.deviceId">
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-6">
                        <span class="col-xs-2">单灯编号</span>
                        <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="info.lampCode">
                    </div>
                    <div class="col-xs-6">
                        <span class="col-xs-2">安装时间</span>
                        <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="info.installTime">
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-6">
                        <span class="col-xs-2">所属项目</span>
                        <input type="text" class="col-xs-7 input_xs" name="keyword" readonly  v-model="info.proCode">
                    </div>
                    <div class="col-xs-6">
                        <span class="col-xs-2">所属组</span>
                        <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="info.groupCode">
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-6">
                        <span class="col-xs-2">IMEI号</span>
                        <input type="text" class="col-xs-7 input_xs" name="imei" readonly v-model="info.imei">
                    </div>
                    <div class="col-xs-6">
                        <span class="col-xs-2">IMSI号</span>
                        <input type="text" class="col-xs-7 input_xs" name="imsi" id="selectedIMSI" readonly v-model="info.imsi">
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-6">
                        <span class="col-xs-2">经度</span>
                        <input type="text" class="col-xs-7 input_xs" name="lng" v-model="info.lng" readonly>
                    </div>
                    <div class="col-xs-6">
                        <span class="col-xs-2">纬度</span>
                        <input type="text" class="col-xs-7 input_xs" name="lat" v-model="info.lat" readonly>
                    </div>
                </div>
                <div class="row">
                    <span class="col-xs-1" style="width: 11%; text-align: left; padding-left: 15px; padding-right: 0px;">备注</span>
                    <textarea class="col-xs-9" name="keyword" readonly v-model="info.remark" style="width: 76.5%"></textarea>
                </div>
                <div class="row">
                    <dl class="light_list">
                        <button class="primary_btn refresh_data">数据刷新</button>
                        <dd>
                            <p>网络参数:</p>
                            <div class="row">
                                <div class="col-xs-4">
                                    <span class="col-xs-5">终端心跳(s)</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.endHeartTimes">
                                </div>
                                <div class="col-xs-4">
                                    <span class="col-xs-5">应答超时(s)</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.endReplyTimes">
                                </div>
                                <div class="col-xs-4">
                                    <span class="col-xs-5">重传次数</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.endResendNum" >
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-4">
                                    <span class="col-xs-5">主服务器APN</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.serviceAPN" >
                                </div>
                                <div class="col-xs-4">
                                    <span class="col-xs-5">主服务器拨号用户名</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.serviceName" >
                                </div>
                                <div class="col-xs-4">
                                    <span class="col-xs-5">主服务器拨号密码</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.servicePassword" >
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-4">
                                    <span class="col-xs-5">主服务器地址</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.serviceAddress" >
                                </div>
                                <div class="col-xs-4">
                                    <span class="col-xs-5">服务器TCP端口</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.serviceTCP" >
                                </div>
                                <div class="col-xs-4">
                                    <span class="col-xs-5">所在省域ID</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.proviceId" >
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-4">
                                    <span class="col-xs-5">所市域ID</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="net.cityId" >
                                </div>
                                <div class="col-xs-4">
                                    <span class="col-xs-5">终端手机号</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly  v-model="net.phone">
                                </div>
                            </div>
                        </dd>
                    </dl>
                </div>
                <div class="row">
                    <dl class="light_list" v-for="item in itemStateList">
                        <dd>
                            <p>灯盏1:</p>
                            <div class="row">
                                <div class="col-xs-6">
                                    <span class="col-xs-5">电压（V）</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="item.eleV">
                                </div>
                                <div class="col-xs-6">
                                    <span class="col-xs-5">电压（A）</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="item.eleA">
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-6">
                                    <span class="col-xs-5">功率（W）</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="item.eleW">
                                </div>
                                <div class="col-xs-6">
                                    <span class="col-xs-5">亮度（100%）</span>
                                    <input type="text" class="col-xs-7 input_xs" name="keyword" readonly v-model="item.eleL">
                                </div>
                            </div>
                        </dd>
                    </dl>
                </div>
            </div>
    </div>
</div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=gAcDsfWUz7Wx0XzjGGfmVIWA6h2hhnCk"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
<script type="text/javascript" src="js/back/operate/single_lamp/detail-single.js" custom></script>